home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Programming / powerd / modules.lha / modules / intuition / gadgetclass.m < prev    next >
Encoding:
Text File  |  1999-06-23  |  3.7 KB  |  178 lines

  1. MODULE    'intuition/intuition'
  2.  
  3. CONST    GA_Dummy=$80030000,
  4.         GA_Left=$80030001,
  5.         GA_RelRight=$80030002,
  6.         GA_Top=$80030003,
  7.         GA_RelBottom=$80030004,
  8.         GA_Width=$80030005,
  9.         GA_RelWidth=$80030006,
  10.         GA_Height=$80030007,
  11.         GA_RelHeight=$80030008,
  12.         GA_Text=$80030009,
  13.         GA_Image=$8003000A,
  14.         GA_Border=$8003000B,
  15.         GA_SelectRender=$8003000C,
  16.         GA_HighLight=$8003000D,
  17.         GA_Disabled=$8003000E,
  18.         GA_GZZGadget=$8003000F,
  19.         GA_ID=$80030010,
  20.         GA_UserData=$80030011,
  21.         GA_SpecialInfo=$80030012,
  22.         GA_Selected=$80030013,
  23.         GA_EndGadget=$80030014,
  24.         GA_Immediate=$80030015,
  25.         GA_RelVerify=$80030016,
  26.         GA_FollowMouse=$80030017,
  27.         GA_RightBorder=$80030018,
  28.         GA_LeftBorder=$80030019,
  29.         GA_TopBorder=$8003001A,
  30.         GA_BottomBorder=$8003001B,
  31.         GA_ToggleSelect=$8003001C,
  32.         GA_SysGadget=$8003001D,
  33.         GA_SysGType=$8003001E,
  34.         GA_Previous=$8003001F,
  35.         GA_Next=$80030020,
  36.         GA_DrawInfo=$80030021,
  37.         GA_IntuiText=$80030022,
  38.         GA_LabelImage=$80030023,
  39.         GA_TabCycle=$80030024,
  40.         GA_GadGetHelp=$80030025,
  41.         GA_Bounds=$80030026,
  42.         GA_RelSpecial=$80030027,
  43.         GA_TextAttr=$80030028,
  44.         GA_ReadOnly=$80030029,
  45.         PGA_Dummy=$80031000,
  46.         PGA_Freedom=$80031001,
  47.         PGA_BorderLess=$80031002,
  48.         PGA_HorizPot=$80031003,
  49.         PGA_HorizBody=$80031004,
  50.         PGA_VertPot=$80031005,
  51.         PGA_VertBody=$80031006,
  52.         PGA_Total=$80031007,
  53.         PGA_Visible=$80031008,
  54.         PGA_Top=$80031009,
  55.         PGA_NewLook=$8003100A,
  56.         STRINGA_Dummy=$80032000,
  57.         STRINGA_MaxChars=$80032001,
  58.         STRINGA_Buffer=$80032002,
  59.         STRINGA_UnDoBuffer=$80032003,
  60.         STRINGA_WorkBuffer=$80032004,
  61.         STRINGA_BufferPos=$80032005,
  62.         STRINGA_DispPos=$80032006,
  63.         STRINGA_AltKeyMap=$80032007,
  64.         STRINGA_Font=$80032008,
  65.         STRINGA_Pens=$80032009,
  66.         STRINGA_ActivePens=$8003200A,
  67.         STRINGA_EditHook=$8003200B,
  68.         STRINGA_EditModes=$8003200C,
  69.         STRINGA_ReplaceMode=$8003200D,
  70.         STRINGA_FixedFieldMode=$8003200E,
  71.         STRINGA_NoFilterMode=$8003200F,
  72.         STRINGA_Justification=$80032010,
  73.         STRINGA_LongVal=$80032011,
  74.         STRINGA_TextVal=$80032012,
  75.         STRINGA_ExitHelp=$80032013,
  76.         SG_DefaultMaxChars=$80,
  77.         LAYOUTA_Dummy=$80038000,
  78.         LAYOUTA_LayoutObj=$80038001,
  79.         LAYOUTA_Spacing=$80038002,
  80.         LAYOUTA_Orientation=$80038003,
  81.         LAYOUTA_ChildMaxWidth=$80038004,
  82.         LAYOUTA_ChildMaxHeight=$80038005,
  83.         LORIENT_NONE=0,
  84.         LORIENT_HORIZ=1,
  85.         LORIENT_VERT=2,
  86.         GM_HITTEST=0,
  87.         GM_RENDER=1,
  88.         GM_GOACTIVE=2,
  89.         GM_HANDLEINPUT=3,
  90.         GM_GOINACTIVE=4,
  91.         GM_HELPTEST=5,
  92.         GM_LAYOUT=6,
  93.         GM_DOMAIN=7
  94.  
  95. OBJECT GPHitTest
  96.     MethodID:LONG,
  97.     GInfo:PTR TO GadgetInfo,
  98.     MouseX:INT,
  99.     MouseY:INT
  100.  
  101. OBJECT GPHelpTest
  102.     MethodID:LONG,
  103.     GInfo:PTR TO GadgetInfo,
  104.     MouseX:INT,
  105.     MouseY:INT
  106.  
  107. CONST    GMR_GADGETHIT=4,
  108.         GMR_NOHELPHIT=0,
  109.         GMR_HELPHIT=-1,
  110.         GMR_HELPCODE=$10000
  111.  
  112. OBJECT GPRender
  113.     MethodID:LONG,
  114.     GInfo:PTR TO GadgetInfo,
  115.     RPort:PTR TO RastPort,
  116.     ReDraw:LONG
  117.  
  118. CONST    GREDRAW_UPDATE=2,
  119.         GREDRAW_REDRAW=1,
  120.         GREDRAW_TOGGLE=0
  121.  
  122. OBJECT GPInput
  123.     MethodID:LONG,
  124.     GInfo:PTR TO GadgetInfo,
  125.     IEvent:PTR TO InputEvent,
  126.     Termination:PTR TO LONG,
  127.     MouseX:INT,
  128.     MouseY:INT,
  129.     TabletData:PTR TO TabletData
  130.  
  131. OBJECT GPGoActive
  132.     MethodID:LONG,
  133.     GInfo:PTR TO GadgetInfo,
  134.     IEvent:PTR TO InputEvent,
  135.     Termination:PTR TO LONG,
  136.     MouseX:INT,
  137.     MouseY:INT,
  138.     TabletData:PTR TO TabletData
  139.  
  140. CONST    GMR_MEACTIVE=0,
  141.         GMR_NOREUSE=2,
  142.         GMR_REUSE=4,
  143.         GMR_VERIFY=8,
  144.         GMR_NEXTACTIVE=16,
  145.         GMR_PREVACTIVE=$20,
  146.         GMRB_NOREUSE=1,
  147.         GMRB_REUSE=2,
  148.         GMRB_VERIFY=3,
  149.         GMRB_NEXTACTIVE=4,
  150.         GMRB_PREVACTIVE=5,
  151.         GMRF_NOREUSE=2,
  152.         GMRF_REUSE=4,
  153.         GMRF_VERIFY=8,
  154.         GMRF_NEXTACTIVE=16,
  155.         GMRF_PREVACTIVE=$20
  156.  
  157. OBJECT GPGoInactive
  158.     MethodID:LONG,
  159.     GInfo:PTR TO GadgetInfo,
  160.     Abort:LONG
  161.  
  162. OBJECT GPLayout
  163.     MethodID:LONG,
  164.     GInfo:PTR TO GadgetInfo,
  165.     Initial:LONG
  166.  
  167. OBJECT GPDoMain
  168.     MethodID:LONG,
  169.     GInfo:PTR TO GadgetInfo,
  170.     RPort:PTR TO RastPort,
  171.     Which:LONG,
  172.     DoMain:IBox,
  173.     Attrs:PTR TO TagItem
  174.  
  175. CONST    GDOMAIN_MINIMUM=0,
  176.         GDOMAIN_NOMINAL=1,
  177.         GDOMAIN_MAXIMUM=2
  178.